package com.apabi.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


/**
 * Created by huhu on 2018/1/17.
 */
public interface JournalMapper {
    @Select("select * from journal where issn = #{issn}")
    Map<String,String> selectJournal(String issn);

    @Select("select * from scholar where code = #{code}")
    Map<String,String> selectScholar(String code);

    @Select("select * from organization where code = #{code}")
    Map<String,String> selectOrganization(String code);

    @Select("select * from scholar where code = #{code}")
    List<Map<String,String>> selectOrganizationScholars(String code);
}
